25. inc dec instructions usage
你好。
Hello.
在本教程中,我们将学习如何使用、递增和递减指令的用法。
In this tutorial, we will learn how we use, increment and also decrement instructions usage.
我将插入两行。
I will insert two line.
第一个是递增的,第二个是根据您的传感器实现的,例如,传感器连接到零。
And first one is incrementing and the second one implementing, according to your, for example, sensor than your sensor is connected to zero.
但我现在会使用LG内部继电器,例如M10。
But I will use internal relay now LG, for example M10.
会发生什么?
What will happen?
现在,让我们使用 LDP 零,好吗?
Already, let's use LDP zero, OK?
只需暂停一下,我就会递增,例如 20。
Just one pause, I will increment the, for example, 20.
这是该传感器被检测到的次数,无论是一个盒子还是任何组件。
And this is how many times this sensor is detected, a box or any component.
另外,我将在这里添加自民党和一。
And also, I will add here LDP and one.
这将减少我的。
And this is going to be decrement my.
20.
The 20.
好的。
OK.
一种是递增,一种是记录,这是递增指令的使用。
One is incrementing one is documenting this is incrementing instruction usage.
这就是 IS through 指令的用法,好吗?
This is the IS through instruction usage, OK?
我将对其进行转换并将其发送到中华人民共和国,我们将看到它是否正确运行或未正确执行策略?
And I will convert it and I will send it to the PRC and we will see, is it running correctly or not executed right to the policy?
我们需要再等一下。
We need to wait a little bit more.
就快结束了。
Almost finished.
然后我会说是的。
And then I will say yes.
完成了,我要关闭它,好的,现在让我们进入监视模式,让我们从设备测试开始,让我们做一下强制切换。
It's completed, and I'm closing it, OK, now let's go to monitor mode, and let's start with the device test and let's do toggle force.
这是关闭到开启状态,而转向现在是一个。
This is off to on condition and turn to is now one.
您将看到它仅增加一。
You will see it incrementing just one.
第二个脉冲、第三个脉冲、第四堆以及它会像这样进行。
And the second pulse and the third pulse and the fourth piles and the and it will go like that.
然后你会看到每个脉冲数据注册数据都会增加一,OK。
And then you will see each pulse the data registered data is incrementing by one, OK.
然后我们能做什么。
And then what we can do.
我们来测试一下要递减。
Let's test wants to decremental.
我将进入设备测试区域,并从第一个脉冲递增 8、第二个脉冲和第三个脉冲的切换开始。
I will go to device test area and start with the toggle for first pulse incrementing eight and the second pulse and the third pulse.
现在是六点。
It is six.
将会是五个,将会是四个,并且会像这样进行。
It's going to be five, it's going to be four and it will go like that.
这就是我们如何使用增量呢?
This is how can we use increment?
DiClemente 可以记录吗?
Can DiClemente documenting?
所以这也是我经常使用这些增量和记录并计算来自传感器的脉冲或有多少?
So this is also I'm commonly using these increment and documenting and to count the pulses from the sensor or how many?
例如,您想查看有多少。
For example, you want to see how many.
这台机器生产了多少个部件?
How many component is produced by the machine?
盒装或包装了多少美元,在传感器的帮助下,您可以对脉冲进行计数,并且可以在数据寄存器中看到结果。
How many bucks is boxed or packaged, and with the sensor help, you can count the pulses and you can see the result into the data register.
您可以了解它增加或记录或计数的次数。
And you can understand how many times it is incremented or documented or counted.
好的。
OK.
这真是太好了。
This is really good.
这是将其用于政策计划的非常好的指导。
This is really good instruction to use it into policy programs.
但对于本教程,我已经完成了。
But for this tutorial, I'm finished here.
如果您遇到任何困难,可以立即向我提问。
If you're stuck at any point, you can ask me a question immediately.
下一个教程见。
See you next tutorials.